package com.mall.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.business.domain.TUserAddress;
import org.apache.ibatis.annotations.Mapper;

/**
 * 收货地址维护Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-30
 */
@Mapper
public interface TUserAddressMapper  extends BaseMapper<TUserAddress>
{
    /**
     * 查询收货地址维护
     *
     * @param id 收货地址维护主键
     * @return 收货地址维护
     */
    public TUserAddress selectTUserAddressById(String id);

    /**
     * 查询收货地址维护列表
     *
     * @param tUserAddress 收货地址维护
     * @return 收货地址维护集合
     */
    public List<TUserAddress> selectTUserAddressList(TUserAddress tUserAddress);

    /**
     * 新增收货地址维护
     *
     * @param tUserAddress 收货地址维护
     * @return 结果
     */
    public int insertTUserAddress(TUserAddress tUserAddress);

    /**
     * 修改收货地址维护
     *
     * @param tUserAddress 收货地址维护
     * @return 结果
     */
    public int updateTUserAddress(TUserAddress tUserAddress);

    /**
     * 删除收货地址维护
     *
     * @param id 收货地址维护主键
     * @return 结果
     */
    public int deleteTUserAddressById(String id);

    /**
     * 批量删除收货地址维护
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTUserAddressByIds(String[] ids);
}
